<script>
    function CART (){

    }

    CART.prototype.getData = function(params){

    }

    CART.prototype.setData = function(params){

    }

    CART.prototype.updateData = function(params){

    }

    CART.prototype.deleteData = function(id){

    }

    CART.prototype.clearData = function(){

    }
</script>